package com.li.mapper;

import com.li.pojo.Class;
import com.li.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

@Mapper
@Repository
public interface StudentMapper {
    Student queryStudentBySno(Student student);
    Student queryStudent(Student student);
    void insertStudent(Student student);
    void updateStudent(Student student);
    void deleteStudent(Student student);
    List<Student> listStudent();
    List<Class> listClass();
}
